﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ZJCQ
{
    /// <summary>
    /// 备选的专家抽取记录
    /// </summary>
    [Serializable]
    public class ZJ_extract_bak : Entity
    {
        #region 数据表名称
        public static readonly string TableName = "zj_extract_bak";
        #endregion

        #region 数据表字段结构
        public struct Columns
        {
            /// <summary>
            /// 抽取标题
            /// </summary>
            public static readonly string title = @"title";

            /// <summary>
            /// 抽取用户ID
            /// </summary>
            public static readonly string user_id = @"user_id";
        }
        #endregion

        #region 字段
        /// <summary>
        /// 抽取记录所对应详细记录
        /// </summary>
        public virtual IList<DB_NH.DB_Model.ZJCQ.ZJ_extract_detail_bak> details { get; set; }

        /// <summary>
        /// 抽取记录关联的项目
        /// </summary>
        public virtual IList<DB_NH.DB_Model.ywxt.t_project> zj_extract_bak_projects { get; set; }

        /// <summary>
        /// 抽取记录标题
        /// </summary>
        public virtual string title { get; set; }

        /// <summary>
        /// 操作员
        /// </summary>
        public virtual ywxt.t_sys_user user { get; set; }
        #endregion

        public ZJ_extract_bak()
        {
            this.zj_extract_bak_projects = new List<DB_Model.ywxt.t_project>();
            this.details = new List<DB_Model.ZJCQ.ZJ_extract_detail_bak>();
        }
    }
}
